﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestServices.Services;


namespace TestServices
{
    [TestClass]
    public class TestUser
    {
        private static readonly ServicesClient client = new ServicesClient();

        //[TestMethod]
        //public void TestInsertUser()
        //{
        //    //HouseKeepingServices.ServicesClient hksClient = new HouseKeepingServices.ServicesClient();
            
        //    //Model.User usr = new Model.User()
        //    //{
        //    //    Username = "roikatz",
        //    //    Password = "1234",
        //    //    Type = new Model.UserType()
        //    //    {
        //    //        Type = "Apartment"
        //    //    }
        //    //};
        //    //HouseKeepingServices.User serviceUsr = new HouseKeepingServices.User();
        //    //serviceUsr.Username = usr.Username;
        //    //serviceUsr.Password = usr.Password;
        //    //serviceUsr.Type = new HouseKeepingServices.UserType()
        //    //{
        //    //    Type = usr.Type.Type
        //    //};

        //    //hksClient.InsertUser(serviceUsr);

        //    //usr = new Model.User()
        //    //{
        //    //    Username = "roikatzHouseManagment",
        //    //    Password = "1234",
        //    //    Type = new Model.UserType()
        //    //    {
        //    //        Type = "Building"
        //    //    }
        //    //};
        //}


        //[TestMethod]
        //public void TestGetUserTypes()
        //{
        //    List<Model.UserType> list = hksClient.GetUserTypes().ToList();
        //}

        //[TestMethod]
        //public void TestGetIncomesByUser()
        //{
    
        //}


    }
}
